package com.hospital.workstation.domain.bo;

import com.hospital.common.core.validate.AddGroup;
import com.hospital.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.hospital.common.core.domain.BaseEntity;

/**
 * 医疗相关法律法规业务对象 hospital_laws_regulations_medicine
 *
 * @author hospital
 * @date 2023-03-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class LawsRegulationsMedicineBo extends BaseEntity {

    /**
     * 法律法规ID
     */
    // @NotNull(message = "法律法规ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 医疗法律法规内容
     */
    // @NotBlank(message = "医疗法律法规内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lawsRegulationsContent;

    /**
     * 法律法规类别（1住院医师 2隐私权 3医学教育）
     */
    // @NotBlank(message = "法律法规类别（1住院医师 2隐私权 3医学教育）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lawsCategory;

    /**
     * 附件ID
     */
    // @NotNull(message = "附件ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long ossId;

    /**
     * 附件地址
     */
    // @NotBlank(message = "附件地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ossUrl;


}
